package dao;

import model.User;

public interface UserDao {
    public boolean registered(String id, String user_account, String user_name, String user_password, String user_phone, String user_email, String user_imgurl);

    public User login(String user_account, String user_password);

    public Boolean UpdateUser(User user);
    public User GetSellerUser(String  userid);
    public User GetBuyerUser(String  userid);
    public User GetUserPhone(String  userid);
    public Boolean ReduceUserIntegral(String  userid);
    public int GetUserIntegral(String userid);
}
